home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 March / PCWorld_2007-03_cd.bin / komunikace / acehtml / acehtmlfreeware.exe / scriptdef / Blending Image Slideshow.sd < prev    next >
INI File  |  2006-09-13  |  2KB  |  97 lines

  1. [SUBJECT]
  2. Description=Blending Image Slide Show Script
  3. ImageIndex=1
  4. Folder=Graphical Effects
  5.  
  6. [HEAD_TEXT]
  7. ;<script language="JavaScript1.2">
  8. ;
  9. ;/*
  10. ;Blending Image Slide Show Script-
  11. ;⌐ Dynamic Drive (www.dynamicdrive.com)
  12. ;For full source code, installation instructions,
  13. ;100's more DHTML scripts, and Terms Of
  14. ;Use, visit dynamicdrive.com
  15. ;*/
  16.  
  17. ;function reapply(){
  18. ;setTimeout("slideit()",2000);
  19. ;return true;
  20. ;}
  21. ;window.onerror=reapply;
  22. ;</script>
  23. ;<script language="JavaScript1.1">
  24. ;<!--
  25. ;var image1=new Image();
  26. ;image1.src="`Image1`";
  27. ;var image2=new Image();
  28. ;image2.src="`Image2`";
  29. ;var image3=new Image();
  30. ;image3.src="`Image3`";
  31. ;//-->
  32. ;</script>
  33.  
  34.  
  35. [BODY_TAG]
  36. ;onLoad="slideit()"
  37.  
  38.  
  39. [BODY_TEXT]
  40. ;<a href="javascript:slidelink()" onMouseover="window.status='Click on the image to learn more about it!';return true" onMouseout="window.status=''"><img src="firstimage.gif" name="slide" border=0 style="filter:blendTrans(duration=3)"></a>
  41. ;<script>
  42. ;<!--
  43. ;////change number of images below
  44. ;var number_of_images=3;
  45. ;//change speed below (in seconds)
  46. ;var speed=`Interval`;
  47. ;var step=1;
  48. ;var whichimage=1;
  49. ;function slideit(){
  50. ;if (!document.images)
  51. ;return;
  52. ;if (document.all)
  53. ;slide.filters.blendTrans.apply();
  54. ;document.images.slide.src=eval("image"+step+".src");
  55. ;if (document.all)
  56. ;slide.filters.blendTrans.play();
  57. ;whichimage=step;
  58. ;if (step<number_of_images)
  59. ;step++;
  60. ;else
  61. ;step=1;
  62. ;if (document.all)
  63. ;setTimeout("slideit()",speed*1000+3000);
  64. ;else
  65. ;setTimeout("slideit()",speed*1000);
  66. ;}
  67. ;function slidelink(){
  68. ;if (whichimage==1)
  69. ;window.location="link1.htm";
  70. ;else if (whichimage==2)
  71. ;window.location="link2.htm";
  72. ;else if (whichimage==3)
  73. ;window.location="link3.htm";
  74. ;}
  75. ;//-->
  76. ;</script>
  77.  
  78.  
  79. [`Interval`]
  80. Kind=N
  81. Value=1
  82.  
  83. [`Image1`]
  84. Kind=U
  85. Value=firstimage.gif
  86.  
  87. [`Image2`]
  88. Kind=U
  89. Value=secondimage.gif
  90.  
  91. [`Image3`]
  92. Kind=U
  93. Value=thirdimage.gif
  94.  
  95.  
  96.  
  97.